package org.jeecg.modules.word_order.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.word_order.entity.WorkService;
import org.jeecg.modules.word_order.modal.WorkServiceModel;
import org.jeecg.modules.word_order.vo.WorkServiceVo;

/**
 * @Description: work_service
 * @Author: jeecg-boot
 * @Date:   2021-08-17
 * @Version: V1.0
 */
public interface IWorkServiceService extends IService<WorkService> {
    /**
     * 分页查询+条件
     * @param page
     * @param queryWrapper
     * @return
     */
    public IPage<WorkServiceVo> getWorkServiceByPage(Page<WorkServiceVo> page,QueryWrapper<WorkServiceVo> queryWrapper);

    /**
     * 多表新增(服务表工单表+工单表)
     * @param workServiceModel
     */
    public void add(WorkServiceModel workServiceModel);
}
